import request from '@/utils/request'

// 查询园林考核上报列表
export function listExamineReport(query) {
  return request({
    url: '/comp/examineReport/list',
    method: 'get',
    params: query
  })
}

// 查询园林考核上报详细
export function getExamineReport(id) {
  return request({
    url: '/comp/examineReport/' + id,
    method: 'get'
  })
}

// 新增园林考核上报
export function addExamineReport(data) {
  return request({
    url: '/comp/examineReport',
    method: 'post',
    data: data
  })
}

// 修改园林考核上报
export function updateExamineReport(data) {
  return request({
    url: '/comp/examineReport',
    method: 'put',
    data: data
  })
}

// 删除园林考核上报
export function delExamineReport(id) {
  return request({
    url: '/comp/examineReport/' + id,
    method: 'delete'
  })
}
